rewritten fourth test