testing validation using invalid syntax