add curl statements to test