rakudo-star: add test

Closes #28741.

Signed-off-by: Adam Vandenberg <flangy@gmail.com>