test for line class