give each test library its own main

this allows them to be run separately, or alltogether