Fixed formatting and added the cases spec