Improved tests to check amount of set data.