Added test cases for the Extension classes