 						expect(@fileContent).to.startWith(prepended)
 
 			it 'appends files', (done) ->
-				appended = ['append1.coffee', 'append2.coffee']
+				appended = ['prepend3.coffee', 'append1.coffee', 'append2.coffee']
 					.map (name) -> tempFiles[name]
 					.join('\n')
 				@subject.concatTo @destination, =>

						expect(result).to.startWith(prepended)

			it 'appends files contents', (done) ->
				appended = ['append1.coffee', 'append2.coffee']
					.map (name) -> tempFiles[name]
					.join('\n')
				@subject.concat (result) ->

				var main = true;
				'''
			'prepend1.js': 'var prepend1 = true;'
			'append1.js': '''
				// @codecat-prepend "prepend3.js"
				var append1 = true;
				'''
			'prepend2.js': 'var prepend2 = true;'
			'append2.js': 'var append2 = true;'
			'prepend3.js': 'var prepend3 = true;'

		describe '#findConcats', ->

