Remove test case usage of Object#extend