Namespace fixes
PSR formatting fixes
Updated testing suite because it had issue because of expectedException \PHPUnit_Framework_Error_Notice - array items were not checked because exception was raised before
added test for #14 + fixed #14