added test to composer, introduced Cacher interface, added Validator test