adding functional test (8.21)