Various little fixes.
Test suite for test and suite registration.