You can test circuit with the appliance connected and switched on, "Dead test" and disconected from the db. Like m4tty said short the line and neutral together and test to earth. Its the same princible as portable appliance testing, the pat machine shorts out L + N together and tests to earth...