Implemented test for sword