functional tests

Change-Id: I9fb5b384f8f8d6d9a8d20552268ea9666026da21