Fixed test cases for libwapcaplet changes