extende testing api (put and post buggy)