Add test for REST (Step I)