USB test code working