Miscellaneous test-first implementations