added system tests (not yet passing)