complete mixture function test
complete add context for function