pass item where items were passed; fixes #11

Looks like the array of items was passed instead of single item.

Added tests for two optional `$item` keys: `min` and `wp`.