added tests to verify that services can return lists of structs