Adding simple Test for CountResource.