more small tests
added index test