NOJIRA Updated usecases and added test for scan join