added LICENCE.txt and moved test to examples directory