Fix the qejs and aptl tests
Merge pull request #138 from RobLoach/fix-tests

Fix the qejs and aptl tests