add test building logic, only test