A near infrared test for two recent luminosity functions for galaxies