Help on random led coloring?

so that there is no "test" and it only show one color, not changing the color?

Take everything in the loop() function and put it in the setup() function.
The loop() function will be empty but you still need it.
Also there is no need to have a return statement at the end of a function.