Added tests for tests module Layer