Revert "tests; remove pointless test"

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

closes #1542
fixed; calling model.distinct without conditions

closes #1541
update History