Fixed the HasPiGlow() method to work properly and make the tests not run when no piglow is installed

Signed-off-by: Toon Schoenmakers <nighteyes1993@gmail.com>