add redbug_msc unit tests