fix building tests