fixed failing dataStore test cases
minor bug fix. Datastore was storing undef values.