unit tests for kernel selection

to make sure that it does what it should