refactor a little
updating tests with some logging and gettin the run method to work with frep