[test] Updated test suite.
Updated library code to pass suite.