Support passing constructor to getStore; Code coverage