Fix tests for sparse stores