Added code for block size and number of cores tests.