Added tests on the generated metadata: a os:totalResults
property is added to the metadata if a non-null totalResults Integer is passed in,
and that Integer's value is the object of the meta-statement.