wrote two tests for sign_in_spec