implemented parameters; test refactoring

definded proxyquire as a global variable in test setup
parameters implementation need to be refactored
param.param is not good style of coding