Add unit test to wrecker [skip ci]