import and reload (or rather require which does the real work) involve convoluted logic. Unless you need some feature of packages, you could do this (without the import):
while true
readline()
include("mod.jl")
mod.test()
end
which exploits the fact that include operates at global scope (so module definitions are ok).
I do use ClobberingReload, but on this occasion I had some difficulties (@__FILE__ statement returning nothing when evaluated during reloading). I will open an issue if I can’t figure it out.