Added tests for basic extending.