Add SetHandler test