corrected PHPDoc
fixed invalid code in AbstractImpl
added tests
updated README