 	grunt.registerTask 'default', ['dev-watch']
 
 	# Dev
-	grunt.registerTask 'dev', ['clean', 'copy:main', 'coffee', 'less', 'string-replace:dev']
+	grunt.registerTask 'dev', ['clean', 'copy:main', 'copy:test', 'coffee', 'less', 'string-replace:dev']
 	grunt.registerTask 'dev-watch', ['dev', 'connect', 'remote', 'watch:dev']
 
 	# Prod - minifies files

				tasks: ['prod']

			test:
				files: ['src/**/*.html', 'src/**/*.coffee', 'src/**/*.js', 'src/**/*.less', 'spec/**/*.coffee']
				tasks: ['dev', 'karma:unit:run']

	grunt.loadNpmTasks 'grunt-contrib-connect'

	grunt.registerTask 'test-watch', ['dev', 'karma:unit', 'watch:test']
	
	# TDD
	grunt.registerTask 'tdd', ['dev', 'connect', 'remote', 'karma:unit', 'watch:test']

	# Dist
	grunt.registerTask 'dist', ['clean', 'coffee:dist', 'uglify:dist']

	# Tasks for deploy build
	grunt.registerTask 'gen-commit', ['clean', 'copy:main', 'copy:test', 'coffee', 'less', 'copy:debug',
										'useminPrepare', 'concat', 'uglify', 'cssmin', 'usemin',
										'copy:commit', 'string-replace:commit']

	# Generates version folder
	grunt.registerTask 'gen-version', ->
