Fixed bug in inconsistent naming tests.