Tests for login nearly there