Added tests for sentence object