Fix brokn tests (H2, MySQL)