added newline to test
#176 changed condition based on review