added tests for new angular-resource generics signatures