test post_encode, pre_encode, post_decode
test post_encode, pre_encode, post_decode

verify they are called at correct time and that using them to
remove element from hierarchy does not skip other elements

lancekindle/pymm