Hafresize tests

Add tests to hafresize script
-----------------------------------
*VERY* basic tests of functionality