fix line feed issue
conditionally run tests