added spec to check line count