Add tests on private variables, modulo operator, border layouts and
thread locks.