Mayank Agarwal shines with his maiden Test century