Adds test to force check for atomicity
Adds count call to force counter reset when model table is empty. Fixes #96