Add rest test support.