Implemented test fun.