Merge pull request #317 from htlxyz/v3

add event, modelbase test