Copied test from raet that belongs in salt