Altered the test code in the constructor.