extended unit tests of rest API