[test runner] Don't match newlines as part of test declaration

Closes #81