Added base ResourceTest for unit testing Resources