test($cordovaSms): add unit tests