Tests main about metadata's structure