added doctest
Merge branch 'master' of github.com:roed314/OMS