using a separate file to test

Signed-off-by: Mickael <mickael@beingenious.com>
now Creating units only for visible layers

Signed-off-by: Mickael <mickael@beingenious.com>