Wrote test for profile.