#143 Add test for get_identity