added tests for dynamic sites as per #159