added a method to clear cache
updated test
0.0.1