test($cordovaPush): add unit tests