added --test argument for sandbox db