added test for ndarray bias initialization.