fixed tests for impl generation