Add testing badge and tests