Declare all typeof values
Refactor to allow testing of multiple patterns
Refactor to allow testing multiple patterns