Tests should pass now

* Test needed to set user context
* Update phpunit for process isolation
* Fix bugs in updater