Made mousetest work remotely

Everything should work just fine

Signed-off-by: Norman Cao <maplenormandy@gmail.com>