Fix defect. Compete the test.js