add test for nx and relro
small fix