Fix to api.test.php to get tests working with sqlite

sqlite seems to treat empty values differently from MySQL. So values that need to be empty should be entered as '' explicitly for sqlite to not fail