add the input module 

1. add the test of request and input
2. add "defaults" and "expected" function for the input.