updated getting defaults from plot.properties and added unit tests