fixed indentation, copy&paste, incomplete and too complicated tests