fix tests for valid pattern