Add unit test for model.all, simple equality using or on id field

This is the test case for issue #31