Added singleton test
Added test for loading idx contents