add a subensemble test with function origin