improved use of settable future in test