Remove duplicate test case and code cleanups to fit in with the latest api
Remove duplicate test case and code cleanups to fit in with the latest api

thijstriemstra/pyamf,njoyce/pyamf,thijstriemstra/pyamf,hydralabs/pyamf,hydralabs/pyamf,njoyce/pyamf