added post "check" test

fixed various errors