added test for multiple entries
added instance counter
added instance provider