added testcases for the '--enable-apis=NOLEGACY' configure switch