more tests, fixed bug with pre_to_post