US2427: Added tests for samljs library.