Add tests for certification