add restype again
enable tests that work now
cleanup
prepare for 0.3.1