Merge pull request #133 from alain91/master

Clean unit tests and fix error in kernel/block
patches for Core files
update test files
Merge pull request #134 from alain91/master

Two separate commits : Core patches and Tests files
Merge upstream/master