writing test close to be finished