Testing internal classes