Break the resource tests out into individual files

The tests.py file was becoming unwieldy at over 800 lines. Each resource now has its own file with the relevant tests contained within.