Refactoring specs for clarity

* Removed duplication with log_in_user method
* Moved assignment specs to a separate file