Added quick functional test.