Generalize store tests.