Writing rest of test