doc: update header in tests
diff --git a/test/run_all_tests.py b/test/run_all_tests.py
index 8c02dbf..39114af 100644
--- a/test/run_all_tests.py
+++ b/test/run_all_tests.py
@@ -1,5 +1,9 @@
 #! /usr/bin/env python
-
+#
+# This file is part of pySerial - Cross platform serial port support for Python
+# (C) 2001-2015 Chris Liechti <cliechti@gmx.net>
+#
+# SPDX-License-Identifier:    BSD-3-Clause
 """\
 UnitTest runner. This one searches for all files named test_*.py and collects
 all test cases from these files. Finally it runs all tests and prints a
diff --git a/test/test.py b/test/test.py
index ea28650..42936b7 100644
--- a/test/test.py
+++ b/test/test.py
@@ -1,10 +1,9 @@
 #! /usr/bin/env python
-# Python Serial Port Extension for Win32, Linux, BSD, Jython
-# see __init__.py
 #
+# This file is part of pySerial - Cross platform serial port support for Python
 # (C) 2001-2015 Chris Liechti <cliechti@gmx.net>
-# this is distributed under a free software license, see license.txt
-
+#
+# SPDX-License-Identifier:    BSD-3-Clause
 """\
 Some tests for the serial module.
 Part of pyserial (http://pyserial.sf.net)  (C)2001-2015 cliechti@gmx.net
diff --git a/test/test_advanced.py b/test/test_advanced.py
index d2007b3..29e32f8 100644
--- a/test/test_advanced.py
+++ b/test/test_advanced.py
@@ -1,12 +1,9 @@
 #!/usr/bin/env python
-# needs at least python 2.2.3
-
-# Python Serial Port Extension for Win32, Linux, BSD, Jython
-# see __init__.py
 #
-# (C) 2001-2003 Chris Liechti <cliechti@gmx.net>
-# this is distributed under a free software license, see license.txt
-
+# This file is part of pySerial - Cross platform serial port support for Python
+# (C) 2001-2015 Chris Liechti <cliechti@gmx.net>
+#
+# SPDX-License-Identifier:    BSD-3-Clause
 """\
 Some tests for the serial module.
 Part of pyserial (http://pyserial.sf.net)  (C)2002 cliechti@gmx.net
diff --git a/test/test_high_load.py b/test/test_high_load.py
index 87f5ce0..a51c5e8 100644
--- a/test/test_high_load.py
+++ b/test/test_high_load.py
@@ -1,10 +1,9 @@
 #!/usr/bin/env python
-#Python Serial Port Extension for Win32, Linux, BSD, Jython
-#see __init__.py
 #
-#(C) 2001-2003 Chris Liechti <cliechti@gmx.net>
-# this is distributed under a free software license, see license.txt
-
+# This file is part of pySerial - Cross platform serial port support for Python
+# (C) 2001-2015 Chris Liechti <cliechti@gmx.net>
+#
+# SPDX-License-Identifier:    BSD-3-Clause
 """Some tests for the serial module.
 Part of pyserial (http://pyserial.sf.net)  (C)2002-2003 cliechti@gmx.net
 
diff --git a/test/test_iolib.py b/test/test_iolib.py
index f5635f3..7f30a49 100644
--- a/test/test_iolib.py
+++ b/test/test_iolib.py
@@ -1,11 +1,9 @@
 #! /usr/bin/env python
 #
-# Python Serial Port Extension for Win32, Linux, BSD, Jython
-# see __init__.py
+# This file is part of pySerial - Cross platform serial port support for Python
+# (C) 2001-2015 Chris Liechti <cliechti@gmx.net>
 #
-# (C) 2001-2009 Chris Liechti <cliechti@gmx.net>
-# this is distributed under a free software license, see license.txt
-
+# SPDX-License-Identifier:    BSD-3-Clause
 """\
 Some tests for the serial module.
 Part of pyserial (http://pyserial.sf.net)  (C)2001-2009 cliechti@gmx.net
diff --git a/test/test_readline.py b/test/test_readline.py
index 677ce85..61381f4 100644
--- a/test/test_readline.py
+++ b/test/test_readline.py
@@ -1,10 +1,9 @@
 #! /usr/bin/env python
-# Python Serial Port Extension for Win32, Linux, BSD, Jython
-# see __init__.py
 #
-# (C) 2010 Chris Liechti <cliechti@gmx.net>
-# this is distributed under a free software license, see license.txt
-
+# This file is part of pySerial - Cross platform serial port support for Python
+# (C) 2010-2015 Chris Liechti <cliechti@gmx.net>
+#
+# SPDX-License-Identifier:    BSD-3-Clause
 """\
 Some tests for the serial module.
 Part of pyserial (http://pyserial.sf.net)  (C)2010 cliechti@gmx.net
diff --git a/test/test_rs485.py b/test/test_rs485.py
index 813d6c8..01e318b 100644
--- a/test/test_rs485.py
+++ b/test/test_rs485.py
@@ -1,11 +1,9 @@
 #!/usr/bin/env python
-
-# Python Serial Port Extension for Win32, Linux, BSD, Jython
-# see __init__.py
 #
+# This file is part of pySerial - Cross platform serial port support for Python
 # (C) 2015 Chris Liechti <cliechti@gmx.net>
-# this is distributed under a free software license, see license.txt
-
+#
+# SPDX-License-Identifier:    BSD-3-Clause
 """\
 Test RS485 related functionality.
 """
diff --git a/test/test_settings_dict.py b/test/test_settings_dict.py
index 11ff476..2640335 100644
--- a/test/test_settings_dict.py
+++ b/test/test_settings_dict.py
@@ -1,11 +1,9 @@
 #!/usr/bin/env python
-
-# Python Serial Port Extension for Win32, Linux, BSD, Jython
-# see __init__.py
 #
+# This file is part of pySerial - Cross platform serial port support for Python
 # (C) 2015 Chris Liechti <cliechti@gmx.net>
-# this is distributed under a free software license, see license.txt
-
+#
+# SPDX-License-Identifier:    BSD-3-Clause
 """\
 Test the ability to get and set the settings with a dictionary.
 
diff --git a/test/test_url.py b/test/test_url.py
index 700bdbb..3f39cd0 100644
--- a/test/test_url.py
+++ b/test/test_url.py
@@ -1,10 +1,9 @@
 #! /usr/bin/env python
-# Python Serial Port Extension for Win32, Linux, BSD, Jython
-# see __init__.py
 #
-# (C) 2001-2008 Chris Liechti <cliechti@gmx.net>
-# this is distributed under a free software license, see license.txt
-
+# This file is part of pySerial - Cross platform serial port support for Python
+# (C) 2001-2015 Chris Liechti <cliechti@gmx.net>
+#
+# SPDX-License-Identifier:    BSD-3-Clause
 """\
 Some tests for the serial module.
 Part of pySerial (http://pyserial.sf.net)  (C)2001-2011 cliechti@gmx.net