add eigen test

Add a test for eigen, as requested in #388