Fix build of tests project