Added linebreak before return
Ensured regular expressions cannot be used with PHPUnit < 4.2.0