unittests for extensions