fixed lint issues
added test for #line() function