put and get tests