add tests - closes #46
passing login_spec