added tests for lineparser