Added (unfinished) test suite for the generic functions in resources