new test to detect legacy api