add support for --cartridge for tests
Merge pull request #132 from detiber/fixCartTestFlag

add support for --cartridge for tests