added nx check in test