Fixed two tests that failed after adding default traits