Cleaning up tests. Compiles fine, but the output of the bow and sdm tests are still under development