Fixed path to test data in tests
Moved array comparison code into new utils file