Added mocks and tests for BDI agent