fixed layer, style and rule parameters size mismatch; fixed tests not running on linux