test cases for extensions