lineDiffspec changes

Changes to get line count test case. Modified it to use waitsFor and runs