Functional tests

The indentation on this line looks wrong to me