fixing tests to run on cli