Add some bash-api tests