Run library tests before doc tests