remove deprecated from printRows and test it with a dummy test expecting a null pointer