support for new config, simplify tests

@samshull 

This brings support for new configuration.js format. Also simplifies sentinel testing.