Wrote some tests - not passing with Phantom JS for some reason