Fixed composer to support 2.3.0 and a compatibility test
Fixed typo's and warnings
Updated test cases and psr2 fixes