functional test not part of unit test