WIP: add current state of etest

This is compeltely a work in progress and everything is liable to change
completely but comments and ideas are welcome.