added test to check for owners variable
added pet index view