fixed test to not break depending on database primary_key state