Added regular expression test
Corrected typo  in exception message
Corrected usage of phpunit for more accurate test messages, cleaned up some function names

Changed “$unminified” and “$minified” to “$inpout” and “$output” to
make things more clear.

Corrected the order of the assertEquals argument to make sure the
“Expected” and “Actual” messages were representing the right data.