Fixed test case build phases