changed check_configuration to check_config and added tests for lazy evaluation