change mod_last configuration
fix bugs in tests releated to uppercase latter in JID