Added unit tests to all-rmt