fixed missing main in tests