add unit test for getmount output index
add unit test for getmount output index

Signed-off-by: Cory Bennett <417e51e5cb662ad598cd30cfd638784666adde3d@netflix.com>

tonistiigi/buildkit_poc,tonistiigi/buildkit_poc