Modified add_shortcodes()
Return WP_Error when passing a non-array as $shortcodes parameter
Updated unit test to reflect