[major stability] added example, tests and fixes
[bump] version 0.3.0