added a few aliases and some useful magic methods
improved PHPUnit tests