[ft][+] add middleware static unit test