Tests the profile get and put methods