Moved the test functions too new file