Update to accept all BSD kernels.  Add spec tests.