Expanded tests and added refresh and emptyShelf methods.