nasty bug from Unix file endings in test. Remember to add newline when writing raw text to a file!