add test file & add numline error message & fix DECLARE to check array