added spec tests for processed item searching