SHL-82 Improve detection of apple terminal
Remove AbstractShellTest as it didn't test anything other than calling for system properties
Fix failing tests