improve pushclient for testing
add options to pushclient