add test case for get_prep_value