added output led to testing functions