fix put resource test