finished complex test