[TEST] Rest API: cat.count regexp matchers now explicitely test for newline