Tests for throwing error on application wildcard, errors for invalid type.