Add more unit tests for params.common and view engine handlebar