split the functions test_peek and test_poke