compx: changed coding style, added license to the tests