Improved unit test
Merge branch 'master' into build