Added empty_object and empty_array to check_value_spec

Added tests