completed tests for avatar