Add basic test for exponent form

One more code bug fixed as part of this process.