Add functional test sample