Add missing tests and examples