fixed test failure and added get_itemmeta and set_itemmeta