Updated data agents and handlers and added tests

Updates the data agents and data handlers to sync with the InstrumentAgent framework. Adds tests for agents and handlers.