added turn indicator, cleaned up test code