Fixed kde for invalid bw_methods, misc test formatting