remove plot line in test code