Added layers unit test