Add test for readDir primop
Add readDir primop