Tests machinery