[#1659] don't use self.app in functional tests