support running integration and performance tests

Note this is simply PR #11 rebased onto #12