test 1 "finishes", seg fault at start of test 2