[spec] cleaned up redundant tests with shared contexts