tests: move test

Move test of binding to wrong global into new file. There will be some
new other tests added.
tests: add global tests