[#1] Added getItems plugin method and tests for it