Fixed build profile for tests on debug only