Using Erlang Distribution to test hardware