Added Word unit test for capmasks