Add a test to try to reproduce #338 (won't fail yet tho)