@Test
public void testOffsetOutisdeInstancesWithInstanceOfPrefix() throws Exception {

	// Expected: instance of, instance of block
	Couple couple = prepare( "app1", "initial.instances", 43 );
	couple.text += "in";
	List<RoboconfCompletionProposal> proposals = couple.proposer.findProposals( couple.text );
	Assert.assertEquals( 2, proposals.size());
	Assert.assertEquals( KEYWORD_INSTANCE_OF, proposals.get( 0 ).getProposalName());
	Assert.assertEquals( INSTANCE_OF_PREFIX, proposals.get( 0 ).getProposalString());
	Assert.assertNull( proposals.get( 0 ).getProposalDescription());
	Assert.assertEquals( 2, proposals.get( 0 ).getReplacementOffset());
	Assert.assertEquals( INSTANCE_OF_BLOCK, proposals.get( 1 ).getProposalName());
	Assert.assertTrue( proposals.get( 1 ).getProposalString().startsWith( INSTANCE_OF_PREFIX ));
	Assert.assertTrue( proposals.get( 1 ).getProposalDescription().startsWith( INSTANCE_OF_BLOCK ));
	Assert.assertEquals( 2, proposals.get( 1 ).getReplacementOffset());
}