Added rake task for test and file for travis ci