add mcapi aes direct with tests