fix errors in tests for profile object and base assignment api