small changes to rake file to rebuild only the modules
implemented tests for basic request caching and purging