Partial implementation of test3()