Refactored spec tests to use TestHarness, changed cmake build to specify configuration