Added tests folder which hold unit test scripts. Fixed autoload issue with PHPUnit and the autoload function in the bootstrap file. Fixed some issues with value type checking in method parameters.