fixed newly-created id issues in tests