Adding tests for profile provider.