Add tests for ident