Add selenium functional tests