The anubias and java fern could care less what substrate you have, they usually prefer to be attached to decor. As to val, in my experience it will grow in almost anything.
Most plants will grow happily in plain sand, so long as you make sure they are getting their nutrients from some other source, such as dosing the water with ferts.
Ade