Test cases and helpful scripts