Added support for custom post type author capability testing.