Rewrite tests as unittests.
Make pyelliptic imports consistent with rest of code.