Fixed testing @Before method