Move testing support files to lib