adding some tests
Merge branch 'master' into dev