adding more rest calls and testing