add integration and cmd testing