Separate out PDC queries in tests

Signed-off-by: Jeremy Ho <jujaga@gmail.com>