finished flushing out simple tests -- need to rewrite as unit tests