make layers array available outside for testing
ignores node_modules dir
adds test coverage to module