ugly test to find bug