Refactored tests
Refactored tests, added log in button for devise authentication