Update unit tests to reflect current style guide

* Remove use of `subject` and `before` blocks
* Move repetitive setup into private methods