Some test cases for Plug