I think Aljoscha's suspicion is correct. Eclipse let's you also reference test code from main code, so it seems not to separate code. An extra scala-tests project is a good idea.
A workaround: call maven install on the Shell and close the scala projects in Eclipse. The flink-tests project will then pick up the scala examples from your m2 cache.
