A waste collection firm has appeared in court after poor safety measures led to a worker falling from the top of a truck in Blackburn.