index.js added to line and straight line tests