test with join