add bats test for user