test led function