functional testing demo