simplifying the code
changing from 'test' to 'it' on JS specs
adding 'each' method to Array