add modular input example for monitor Environment variables and fix build break due to the reference to Moq package