Added bad value tests