Restored before_test behavior