Unit tests and fixes.
Merge branch 'master' of github.com:akimsko/box