tests almost work