unit tests for initializing easyblocks + related fixes