moved resource test to use mocha
moved old tests to 'tests/old'