Added ArrayDAO test to test.js.
Fix for ArrayDAO.remove().