Fix double-test in build configuration