Changed assert message and corrected whitespacing