Switch to id comparison instead of stringify for more reliable results

Change-Id: I6b85d357ddc16a40fa06335bb3682154223bc809
Remove unnecessary cruft

This test was apparently copied from another that did DB access.  This test
doesn't require any database to function.

Change-Id: I569ff2f61cb3a39bd56d58e1625fa98a717229fd