[Fix] Fixed warnings that would display when running tests

Now we can run tests without all the warnings about the PHP session.

Saving grace from #44.