corrected pattern
added to tests