test number of entries after putting a value into cache and refactored tests
added license of behave