Adding unit test for class address