refactor tests to allow for manual testing