kind-of-working ev test.

this code is so very unportable