Made the management of items optional. Also, added some item tests.

Signed-off-by: Atheriel <atheriel@gmail.com>