Test cases for account serializers, views, and api endpoints
Fixed warnings due to deprecated serializer instantiation style