Start of IM testing utility.