Improved testing of #put method