add testcase for TypedObject using with PDO