[tests] Add frontend functional tests