Fixed error for running test with profile on multiple packages