Correct me if I am wrong, but the implementation doesn't look like to be testing call the protected method `foo` within a subclass.