Nawaz Sharif passed the test, nomination papers accepted