various tests with examples inspired from ol3js