[PATCH v4 03/21] test: Move some SPL-loading test-code into sandbox common