Amended unit test