fixed compile error in scalar store unit test