cleaning up tests
add runscript(), turn off plotting for tests
add start of using examples in unit tests