Fixing typo in method name.
Adding unit test for resource list.