Enhancement : Layers merge

Added drawing test + fixed drawing test runner on Mac OS X