Test app to reproduce atomic increment bug