Some changes in php error reporting, alter constants, and write some tests to models