adding test case for generic view with overriden get_object()