Refactoring test

Reading image files from disk moved into the tests from class setup.