JFI-6: finished basic tests and implementation of typed value store.