fix npm test
improve example
fix __super, define property before parent constructor, add tests