fixed bug with namespaces, fixed tests to catch and report any future PHP errors