fixed store creation during tests