start on a basic vm tests
transform the integrity script to use the unittest library
code cleanup