Add a test for identical variable names.
Make the no-endorsement clause of the license more generic.

Also move the enable_if test to correct location.