Test Class and Dereferncebility class implementation