add unit testing for simple nginx setting