phpUnit tests added.

will we ever be the same :(