FIX: bug in test