implementing addLayer for background and unittest for it