I answered your question already on stackoverflow. http://stackoverflow.com/questions/15790695/web-api-odata-inlinecount-and-testing/
Also, regarding the testability thing, we have this bug for making it easier to build inferred models used by QueryableAttribute. That issue once resolved would make it easier to build ODataQueryOptions<T> for testing.
Also, regarding the testability thing, we have this bug for making it easier to build inferred models used by QueryableAttribute. That issue once resolved would make it easier to build ODataQueryOptions<T> for testing.