Adding tests for -b and -p