Added more tests to mvAuth and created spies