tests almost pass