Fix #21 + add -test flag function from ssadump