Fix missing export test
Update test to use bitops instead of removed splines package
Also check imports env for exports