cmake: Use CMAKE_CURRENT_BINARY_DIR for tests files.