Move test build into target