write test passes