Tests: remove dependence on PostgreSQL sequence

Because of unreset sequences, this test was failing on Travis even
though the intent (retrievable Project id) was successful.