I suggest to always use the "hidden" class from now on. This will make it unit-testable.