fixed html dependencies, renamed some params and fixed test