Revert "tests; remove pointless test"

This reverts commit 255c3b8bae81d12c048555c0932c132d3c550770.
fixed; regression in Query#count()

closes #1542
fixed; calling model.distinct without conditions

closes #1541