testing whether words fit and which way