update badge test - more complete now
basic implementation for badge api