Cover regression formula syntax with unit tests #2360