Update supplicant test program with some API changes