Adding publish resources and bug fixes in LayerTest and MotionStreakTest.