getting sphinx working in functional tests