added test for getPdo methjod