test: Rearrange tests in order of increasing runtime

Making short tests run first is convenient to catch obvious bugs
early.
MIPS: Fix exported symbols in public API.