added WiFly test code