fix compilation problems by initializing mock context in @Before method