add item/collection tests and minor sdk bug fixes