added test code
Merge branch 'master' of https://github.com/funnyjk/beepit

merge code base