A major design goal of mine is to have a set of formal tests to verify the proper behaviour of every aspect of Maia. I've added PHPUnit test to the trunk, in n effort to get started.