Adds a test for get-profile