try fixing test setup
fixed null reference error when no options is specified in put function.