Added tests for Profile