starting to write rest tests