Fixing tests regarding jquery version, new line configuration etc.