Fix for issue 7 for repeatedly running tests.R
Issue #1: added logical vectors