fix imports in test_nserve.py and move it to tests directory

fix imports since nserve.py has been moved to mwlib/nserve.py. now
there's also no need to keep the test in the sandbox directory
anymore.