REST app and tests