Updated tests for resource listing
Removed unwanted debugs