Update test so it returns correct value upon success/failure