added test for getPolarity
deleted the main