Revert "Using `before :all do` instead of `before do`"

This reverts commit 87bd9bba2be4bcd291622e597f427486d8074db2.
class definitions outside of before hook.