Added test, n_val error, and fixed prop overwrite bug