Bus and protocol testing