Added unit test to make sure "newInstance()" is implemented.