Added in tests and implemented the mandelbrot calculator