testing code now works over all files in tests/