Merge "ART: Refactor test profile generation"