Begin adding tests
Fix bug with initialize cascade
Begin tests for d3.layer