[FIX] Was testing before/after count for insertion, but was performing the insertion before taking the initial count, because of the way I was creating the object to be added to the database. [FIX] Final test fixed by correcting the predicate notation.