After struggling with malfunctioning voting machines, the Alabama House of Representatives spent much of Tuesday debating a bill aimed at helping employers and law enforcement agencies stay informed about the people they hire.