replace ${CMAKE_BINARY_DIR}/tests with ${CMAKE_CURRENT_BINARY_DIR}?