add REST testing