tests almost passing