mussel,test: add component tests for functions.