test to check whether push works