Moved testLogin function call.