Tests for agent checks added
Fixed bug in agent: CheckID is not retrived