Began moving unit test files into tests/testfiles

The testfiles are supposed to be shared files for all tests to operate upon.
Began moving files into there and making shared functions to operate on them.