test rest framework