Added some unit tests for Xtension.