More complete test for core library