Add rest test coverage.