Added test file to test hooks on server