TEST CODE FOR LINE DRAWING