The NDA government in Bihar has passed its first major test, with Chief Minister Samrat Choudhary winning the trust vote in the Assembly.