implemented PICC_copy_value and test_value