Add test case for profile parsing.