Container: Added tests 

- [ ] @Aintaer 
Instead of doing a `typeof` check here, you could probably use `Array.isArray(resultset)`. And combine with the previous early return.