Add test for parameters and fix various mistakes. Fix spelling of heigth to height