Probabilities over rich languages, testing and randomness | Synapse