Add tests for exception consistency on user supplied ids.