Added test on embedded and caching