REST Unit Tests