fixed test with hack