fef test. Take a look at fef.cpp for details.