Extend tests for valid and invalid specifiers