TDD for resources

Delete commented out code (it adds clutter). You can always go back in your git history to find chunks of code that have been removed.