unittest reversed to the correct state