Add simple test case for profile.