writing tests mostly