add a simple test for the version number

it makes sure the version number is not totally insane and that the library can be properly linked.