Login system unittests