fix(5019): add tests to validate store is hoisted