Added a test for reopening existing class