refactor unit tests in order to seperate travis run from local run
clarify unit tests as well as documentation for logging and debugging