Fixed bug in adapter cache (fail to cache) and added tests.
Split BeanCan.
More tests.