added pos specification to similarity test