Add check for required proto cores.
Add unit test and bug fixes for storage driver.