separate test code from feature files

Needs a recent lettuce to work.