fix return error from test code
fix reg-expression
fix the regular expression again.
Updated readme and pulled fixes for pattern and file validation
Merged patches and added pages