first functional test specced out in comments