Underage children were able to buy alcohol and a knife in North Hertfordshire, during a test purchasing police operation.