add pat test widget