Fix strict errors during test run